package models

import (
	"gitee.com/cjf8134/bbs_serve/internal/pkg/utils/constutil"
)

type Zan struct {
	Model
	UserID    int `gorm:"column:user_id" form:"user_id" json:"user_id"`
	CommentID int `gorm:"column:comment_id" form:"comment_id" json:"comment_id"`
}

func (Zan) TableName() string {
	return constutil.TablePrefix + "zan"
}
